package entity;

public class User {


    private Integer id;
   private String name;
   private String sex;
   private String pname;
   private String pId;
   private String tId;
   private String rId;
   private String superusers;



    public User(String username, String sex, String pname, String superusers) {
        this.name = username;
        this.sex=sex;
        this.pname=pname;
        this.superusers=superusers;
    }

    public User(Integer id, String name, String sex, String pname, String superusers) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.pname = pname;
        this.superusers = superusers;
    }

    public User(String name){
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public String getPname() {
        return pname;
    }

    public String getpId() {
        return pId;
    }

    public String gettId() {
        return tId;
    }

    public String getrId() {
        return rId;
    }

    public String getSuperusers() {
        return superusers;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public void settId(String tId) {
        this.tId = tId;
    }

    public void setrId(String rId) {
        this.rId = rId;
    }

    public void setSuperusers(String superusers) {
        this.superusers = superusers;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", pname='" + pname + '\'' +
                ", pId='" + pId + '\'' +
                ", tId='" + tId + '\'' +
                ", rId='" + rId + '\'' +
                ", superusers='" + superusers + '\'' +
                '}';
    }
}

